{% extends "base.html" %}
{% block title %}
	Login
{% endblock %}


{% block content %}

<div class="module">
<div class="module-content">
	<h2 class="module-header">Login</h2>
  {% if form.errors %}
    <p class="error">Sorry, that's not a valid username or password</p>
  {% endif %}
	
	<div class="form">
  <form action="" method="post">
  <p>
    <label for="username">User name:</label>
    <input type="text" name="username" value="" id="username">
   </p>
   <p>
    <label for="password">Password:</label>
    <input type="password" name="password" value="" id="password">
</p>
	<p>
    <input type="submit" value="login" class="button" />
   </p>
    <input type="hidden" name="next" value="{{ next|escape }}" />
  </form>
  </div>
  </div>
</div>
{% endblock %}
